package org.demo.jdbctemplate.dao;

import org.demo.jdbctemplate.domain.User;

import java.util.List;

public interface IUserDao {
    int add(User user);
    int update(User user);
    int delete(long id);
    User findUserById(long id);
    List<User> findUserList();
}
